package com.sneakxy.config;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@XmlAccessorType(XmlAccessType.FIELD)
public class Table {

	@XmlElement(name = "size", defaultValue = "10")
	private int size;
	
	@XmlElement(name = "name")
	private String name;
	
	@XmlElement(name = "charset", defaultValue = "utf8")
	private String charset;
	
	@XmlElement(name = "sql")
	private String sql;
	
	@XmlElement(name = "alterSql")
	private String alterSql;

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String getAlterSql() {
		return alterSql;
	}

	public void setAlterSql(String alterSql) {
		this.alterSql = alterSql;
	}
	
}
